<div class="modal-header">
    <h3 class="modal-title" id="modal-title">新增收货地址</h3>
</div>
<div class="modal-body" id="modal-body">
    <form id="addrform" method="POST">
                    
        <div class="input-group">
            
            <span class="input-group-addon" id="sizing-addon2">收货人</span>
            <input type="text" ng-model="contact" ng-change="mctrl.contactsave(contact)" class="form-control" placeholder="请输入您的姓名" aria-describedby="sizing-addon2">
        </div>

        <div class="input-group">
            <span class="input-group-addon" id="sizing-addon2">手机号</span>
            <input type="text" ng-model="tel" ng-change="mctrl.telsave(tel)" class="form-control" placeholder="配送员联系您的电话" aria-describedby="sizing-addon2">
        </div>

        <div class="input-group">
            <span class="input-group-addon" id="sizing-addon2">收货地址</span>
            <select class="form-control" ng-model="address.province" ng-options="key as key for (key,value) in division"  
                    ng-change="address.city='';address.district='';">
                <option value="">省</option>
            </select>  
            <select class="form-control" ng-model="address.city" ng-options="key as key for (key,value) in division[address.province]"  
                    ng-change="address.district='';">
                <option value="">市</option>
            </select>  
            <select class="form-control" ng-model="address.district" ng-options="value as value for value in division[address.province][address.city]"
                    ng-change="mctrl.newaddr(address.province,address.city,address.district)">
                <option value="">区</option>
            </select>
        </div>

    </form>
</div>
<div class="modal-footer">
    <button class="btn btn-primary" type="button" ng-click="mctrl.save()">保存设置</button>
    <but
    ton class="btn btn-warning" type="button" ng-click="mctrl.cancel()">取消</button>
</div>